{if  $show == 1}
    {if $status == 1}
        <span style="color:green;">{$status}</span>
        {else}
        <span style="color:red;">{$status}</span>
    {/if}
{/if}